package com.ansatsing.juc.executor.scenario4;

import java.util.Date;

public class Task implements Runnable {
    private String name;
    public Task(String name){
        this.name = name;
    }
    @Override
    public void run()  {
        System.out.printf("%s staring at %s\n",name,new Date());

    }
}
